<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" type="text/css" href="table.css">
    <script src="WebTable_v1.1.js"></script>
</head>

<body>
    <div id="app"></div>

    <script src="Data.js"></script>

    <script>

        table = new WebTable({
            data: top_sell_data,
            id: 'app'
        });
        table.init();

        // const btn = document.getElementById("change");
        // var flag = true;
        // btn.addEventListener("click",function(){
        //     if(flag){
        //         table.update_raw_data(data2.content);
        //     }else{
        //         table.update_raw_data(data1.content);
        //     }
        //     flag = !flag;
        // });

    </script>


</body>

</html>